<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>

<script>
import { receiveDecorToken } from '@/utils/decor-utils'

export default {
  name: 'APP',
  async mounted() {
    await this.$store.dispatch('getSiteInfoAction')
    document.title = this.$store.getters.siteInfo.site_name
    receiveDecorToken()
  }
}
</script>
